package main

import (
	"flag"
	"fmt"
	"strings"
)

var hashType = flag.String("type", "sha256", "请输入加密类型")
var str = flag.String("str", "", "请输入加密的字符串")

func main() {
	flag.Parse()
	genHash(strings.ToUpper(*hashType), *str)
	unSammeCount := countUnSameByte([]byte("x"), []byte("X"))
	fmt.Printf("数量为%d\n", unSammeCount)
}
